﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="relatorioLog.aspx.cs" Inherits="ivv.relatorioLog" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Fiepe - IVV</title>
    <script src=".js/jquery.tools.min.js"></script>

    <link rel="stylesheet" type="text/css" href="js/tabs-accordion.css" />
    <link href="css/estilos.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>

        <script language="javascript">
            /*----------------------------------------------------------------------------
            Formatação para qualquer mascara
            -----------------------------------------------------------------------------*/
            function formatar(src, mask) {

                var i = src.value.length;
                var saida = mask.substring(0, 1);
                var texto = mask.substring(i);

                if (texto.substring(0, 1) != saida) {
                    src.value += texto.substring(0, 1);
                }
            }
        </script>

       <h2 class="titulo">
            Relatório de atividades dos usuários</h2>
        <table>
            <tr>
                <td>
                    Data
                </td>
                <td>
                    <asp:TextBox ID="txtData" runat="server" MaxLength="10" OnKeyPress="formatar(this, '##/##/####')"></asp:TextBox>
                </td>
                <td>
                    Usuário
                </td>
                <td>
                    <asp:DropDownList ID="lstUsuario" runat="server">
                    </asp:DropDownList>
                </td>
                <td>
                    &nbsp;&nbsp; &nbsp;
                </td>
                <td>
                    <asp:Button ID="btnGerar" runat="server" Text="Gerar relatório" OnClick="btnGerar_Click" />
                </td>
            </tr>
        </table>
        <br />
        <hr />
        <br />
        <asp:Panel ID="Panel1" runat="server">
        </asp:Panel>
    </div>
    </form>
</body>
</html>
